home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 May / Macworld (1998-05).dmg / Shareware World / Comms & Internet / ProTERM_1.2.5.Install / ProTERM Mac1.2.5 / Extras / Resident User F5-F10 < prev    next >
Text File  |  1997-06-06  |  3KB  |  168 lines

  1. /***************************************
  2.  *                                     *
  3.  *  ProTERM/Mac Resident User F5-F15   *
  4.  *                                     *
  5.  *   Version 1202   Updated 5/30/97    *
  6.  *                                     *
  7.  ***************************************/
  8.  
  9. /*
  10. This empty "macro template" file can be modified to add additional macros to ProTERM. To use this file:
  11.  -- READ ME FIRST --
  12. This is a custom VT-102 macro template file which can be used to add F-keys
  13. beyond F1-F4. This set currently adds F5-F12. To install this set:
  14.  
  15.  1- Open the service dialer that will be used with this macro set.
  16.  2- Click the Emulation radio button
  17.  3- Set Display to VT-102.
  18.  4- Set Keyboard: selection to Default.
  19.  5- Drag this file to the ProTERM > Macros folder.
  20.  6- Rename this file as "Resident User 1" (or 2 other unused number).
  21.  7- After placing this file in the ProTERM > Macros folder, and after making
  22.     any changes to the macro commands in this file, either press:
  23.     COMMAND+OPTION+Z or restart ProTERM to Reload the macro sets.
  24. ºlmººpmº
  25. */
  26.  
  27. //
  28. // special "link" code just in case file is executed directly
  29. //
  30. FUNC main()
  31. {
  32.  SHARED STR _mac0;
  33.  EXTERN(_mac0,main(1));
  34.  RETURN;
  35. }
  36.  
  37. /***********************************************************************/
  38. /*                   Start of Startup Macros                           */
  39. /***********************************************************************/
  40.  
  41. FUNC startup()
  42. {
  43. //
  44. // Add startup macro variables after this comment
  45. //
  46.  
  47. // leave this code unchanged
  48.  RESIDENT("",0,#KeyAccess+#LibAccess);
  49.  RETURN;
  50. }
  51.  
  52.  
  53. /***********************************************************************/
  54. /*                   Start of Keyboard Macros                          */
  55. /***********************************************************************/
  56.  
  57.  
  58. //
  59. // F5 macro: Insert desired keyboard code within quotes in PR() statement.
  60. //
  61. func ktr_0060()
  62. {
  63.  PR("F5");
  64.  RETURN;
  65. }
  66.  
  67.  
  68. //
  69. // F6 macro: Insert desired keyboard code within quotes in PR() statement.
  70. //
  71. FUNC ktr_0061()
  72. {
  73.  PR("F6");
  74.  RETURN;
  75. }
  76.  
  77.  
  78. //
  79. // F7 macro: Insert desired keyboard code within quotes in PR() statement.
  80. //
  81. FUNC ktr_0062()
  82. {
  83.  PR("F7");
  84.  RETURN;
  85. }
  86.  
  87.  
  88. //
  89. // F8 macro: Insert desired keyboard code within quotes in PR() statement.
  90. //
  91. FUNC ktr_0064()
  92. {
  93.  PR("F8");
  94.  RETURN;
  95. }
  96.  
  97.  
  98. //
  99. // F9 macro: Insert desired keyboard code within quotes in PR() statement.
  100. //
  101. FUNC ktr_0065()
  102. {
  103.  PR("F9");
  104.  RETURN;
  105. }
  106.  
  107.  
  108. //
  109. // F10 macro: Insert desired keyboard code within quotes in PR() statement.
  110. //
  111. FUNC ktr_006d()
  112. {
  113.  PR("F10");
  114.  RETURN;
  115. }
  116.  
  117.  
  118. //
  119. // F11 macro: Insert desired keyboard code within quotes in PR() statement.
  120. //
  121. FUNC ktr_0067()
  122. {
  123.  PR("F11");
  124.  RETURN;
  125. }
  126.  
  127.  
  128. //
  129. // F12 macro: Insert desired keyboard code within quotes in PR() statement.
  130. //
  131. FUNC ktr_006f()
  132. {
  133.  PR("F12");
  134.  RETURN;
  135. }
  136.  
  137.  
  138. //
  139. // F13 macro: Insert desired keyboard code within quotes in PR() statement.
  140. //
  141. FUNC ktr_0069()
  142. {
  143.  PR("F13");
  144.  RETURN;
  145. }
  146.  
  147.  
  148. //
  149. // F14 macro: Insert desired keyboard code within quotes in PR() statement.
  150. //
  151. FUNC ktr_006b()
  152. {
  153.  PR("F14");
  154.  RETURN;
  155. }
  156.  
  157.  
  158. //
  159. // F15 macro: Insert desired keyboard code within quotes in PR() statement.
  160. //
  161. FUNC ktr_0071()
  162. {
  163.  PR("F15");
  164.  RETURN;
  165. }
  166.  
  167.  
  168.